<template>
  <div>
    登陆页面
  </div>
</template>

<script>
export default {
  data() {
    return {
      ts: this.newStore(),
    };
  },
  created() {
    this.login();
  },
  methods: {
    login() {
      const req = {
        handle: 'E299744D88ADCDF5C56442DDF419DB4E33B34DAB6D91425D',
        id: 'super',
        passwords: 'qwe123',
      };
      this.spost(this.ts, '/mainservlet', req).then((ts) => {
        alert(`登陆${ts.d.sflag}`);
        this.$router.push('order');
      });
    },
  },

};
</script>
<style>

</style>
